package com.service.business.merchant.controller.req;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@Data
public class MerchantOrderDetailReq {

    /**
     * 商品编号
     */
    @NotBlank(message = "merchant_order_exception_commodity_no_not_null")
    private String commodityNo;

    @NotBlank(message = "merchant_order_exception_buy_num_not_null")
    @Min(value = 1, message = "merchant_order_exception_buy_num_le_one")
    private Integer buyNum;

}
